function ajaxRequest(url,data,success_callback,error_callback,type="POST") {
    if (error_callback == null || error_callback == '' || error_callback == 'undefined'){
        error_callback = function () {
            layer.msg('系统繁忙，请重试',{icon:0,time:1500})
        }
    }
    return $.ajax({
        type:type,
        url:url,
        data:data,
        dataType:"JSON",
        success:success_callback,
        error:error_callback
    });
}

function emptyCheck(value){
    if (value == '' || value == null || value == 'undefined') {
        return true
    }
    return false
}